function CharacterProperty(index){
	var self = this;
	base(this,LSprite,[]);
	self.cityIndex = internalMap.cityIndex;
	self.index = index?index:0;
	self.layer = new LSprite();
	self.addChild(self.layer);
	self.showList();
}
CharacterProperty.prototype.showList=function(){
	var self = this,bar,barBack,button,txt,chara,txty;
	self.layer.die();
	self.layer.removeAllChild();
	var city = mapData[0];
	barBack = new LSprite();
	barBack.graphics.drawRect(1,"#000000",[0,0,550,300],true,"#000000");
	barBack.alpha = 0.7;
	barBack.x = 50;
	barBack.y = 50;
	self.layer.addChild(barBack);
	bar = getBar(550,300);
	bar.x = 50;
	bar.y = 50;
	self.layer.addChild(bar);

	var listLayer = new LSprite();
	self.layer.addChild(listLayer);
	var charaLayer = new LSprite();
	charaLayer.x = 70;
	charaLayer.y = 70;
	listLayer.addChild(charaLayer);
	var buttonLayer = new LSprite();
	buttonLayer.x = 150;
	buttonLayer.y = 20;
	listLayer.addChild(buttonLayer);

	button = getButton01("上");
	button.x = 320;
	button.y = 330;
	button.addEventListener(LMouseEvent.MOUSE_UP,cityCharacterListUp);
	buttonLayer.addChild(button);
	button = getButton01("下");
	button.x = 380;
	button.y = 330;
	button.addEventListener(LMouseEvent.MOUSE_UP,cityCharacterListDown);
	buttonLayer.addChild(button);
	
	var statusX = [70,140,210,280,350,420];
	button = getButton03("忠诚");
	buttonLayer.addChild(button);
	button = getButton03("武力");
	button.x = 70;
	buttonLayer.addChild(button);
	button = getButton03("智力");
	button.x = 140;
	buttonLayer.addChild(button);
	button = getButton03("政治");
	button.x = 210;
	buttonLayer.addChild(button);
	button = getButton03("魅力");
	button.x = 280;
	buttonLayer.addChild(button);
	button = getButton03("级别");
	button.x = 350;
	buttonLayer.addChild(button);

	barBack.addEventListener(LMouseEvent.MOUSE_UP,cityCharaView);
	for(var i=self.index;i<city.charas.length && i < self.index + 9;i++){
		chara = characterList[city.charas[i]];
		txty = (i - self.index)*30;
		if(i > self.index)barBack.graphics.drawLine(1,"#FFFFFF",[0,txty + barBack.y - 35,550,txty + barBack.y - 35]);
		txt = new LTextField();
		txt.text = chara.name;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.loyalty;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[0] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.force;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[1] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.intelligence;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[2] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.political;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[3] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.charm;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[4] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
		txt = new LTextField();
		txt.text = chara.lv;
		txt.color = "#FFFFFF";
		txt.size = 16;
		txt.x = statusX[5] + 20;
		txt.y = txty;
		charaLayer.addChild(txt);
	}
}